package org.zbclan.bf2.rcon.home.client;

import org.zbclan.bf2.rcon.common.client.CommonBundle;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;

public class HomeEntryPoint implements EntryPoint {

	private final HomeGinjector injector = GWT.create(HomeGinjector.class);

	public void onModuleLoad() {

		injector.getHomePresenter().bind();
		injector.getGPOPresenter().bind();

		injector.getPlaceManager().fireCurrentPlace();

		CommonBundle.INSTANCE.commonStyle().ensureInjected();

		return;
	}

}
